<!-- 钱包 -->
<template>
	<uni-nav-bar color="#fff" :fixed="true" background-color="" status-bar left-icon="left" left-text="" title="" @clickLeft="back" />
	<view class="main">
		<view class="main-header">
			<view class="main-user">
				<image src="../../static/logo.png" mode=""></image>
				<view class="info">
					<view class="number">
						<text>0</text>元
					</view>
					<view>账户余额</view>
				</view>
			</view>
			<view class="button">
				<view class="btn">充值</view>
				<view class="btn">提现</view>
			</view>
		</view>
		
		<view class="main-record">
			<view class="record-item">
				<view class="title">系统充值消息</view>
				<view class="desc">2023年5月1日10:20成功充值10</view>
			</view>
			<view class="record-end">
				没有更多了
			</view>
		</view>
	</view>
</template>

<script setup>
const back = () => {
	uni.navigateBack({
		delta: 1
	})
}
</script>

<style lang="scss" scoped>
	.main {
		.main-header {
			width: 100%;
			height: 492rpx;
			padding: 160rpx 100rpx;
			box-sizing: border-box;
			background-color: #000000;
			position: absolute;
			top: 0;
			left: 0;
			.main-user {
				width: 600rpx;
				margin: 0 auto;
				display: flex;
				align-items: center;
				color: #ffffff;
				image {
					width: 112rpx;
					height: 112rpx;
					border-radius: 50%;
				}
				.info {
					padding-left: 22rpx;
					text {
						font-size: 54rpx;
					}
				}
			}
		}
		.button {
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0rpx 36rpx;
			margin-top: 42rpx;
			.btn {
				color: #fff;
				width: 224rpx;
				height: 76rpx;
				line-height: 76rpx;
				text-align: center;
				border-radius: 46rpx;
				border: 2rpx solid #FFFFFF;
			}
		}
		.main-record {
			width: 698rpx;
			height: 2rpx;
			background: #E5E4E4;
			border-radius: 6rpx;
			margin: 0 auto;
			.record-item {
				width: 100%;
				height: 150rpx;
				font-size: 26rpx;
				font-family: PingFangSC-Regular, PingFang SC;
				font-weight: 400;
				line-height: 36rpx;
				border-bottom: 2rpx solid #E5E4E4;
				display: flex;
				flex-direction: column;
				justify-content: space-around;
				.title {
					color: #1C1919;
				}
				.desc {
					color: #8E8E8E;
				}
			}
			.record-end {
				font-size: 26rpx;
				font-family: PingFangSC-Regular, PingFang SC;
				font-weight: 400;
				color: #8E8E8E;
				line-height: 36rpx;
				text-align: center;
				margin-top: 70rpx;
			}
		}
	}
</style>